<include file="Public:head" />
<style>

    .table-striped tr  .td_dan{
        line-height: 30px;text-align: right;width: 15%
    }
    .width20{
        width: 260px;
    }
</style>
<body class="overflow-hidden">
<div class="wrapper preload">
    <include file="Public:header" />
    <include file="Public:left" />
    <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                        用户信息
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <form action="{:U('add')}" method="post" class="form-horizontal form-admin11">
                            <table class="table table-striped no-margin">
                                <tr>
                                    <td class="td_dan">姓名 <span style="color: red">*</span</td>
                                    <td width="20%"  style="text-align: left;">
                                        <input type="text" placeholder="姓名" id="name" class="form-control width20" name="name">
                                    </td>
                                    <td class="td_dan" > 用户名  <span style="color: red">*</span></td>
                                    <td width=40%" style="text-align: left;">
                                        <if condition="ACTION_NAME eq 'useradd'">
                                            <input type="text" placeholder="" id="username" class="form-control width20" name="username">
                                            <else/>
                                            {$info.username}
                                        </if>
                                    </td>

                                </tr>
                                <tr>
                                    <!--<td class="td_dan " > 城市  <span style="color: red">*</span></td>-->
                                    <!--<td width="20%" style="text-align: left;">-->
                                        <!--<input type="text" placeholder=""  id="city" class="form-control width20" name="city">-->
                                    <!--</td>-->
                                    <td class="td_dan " > 联系方式  <span style="color: red">*</span></td>
                                    <td width="20%" style="text-align: left;">
                                        <input type="text" placeholder="联系方式" id="tel" class="form-control width20" name="tel">
                                    </td>
                                    <td class="td_dan">Email <span style="color: red">*</span></td>
                                    <td width="40%"  style="text-align: left;">
                                        <input type="text" placeholder="" value="{$info.email}" id="B_number1" class="form-control width20" name="email">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_dan" >通信地址  <span style="color: red">*</span></td>
                                    <td width="40%" style="text-align: left;" colspan="3">
                                        <input type="text" placeholder=""id="address" class="form-control" name="address" style="width: 46%">
                                    </td>

                                </tr>
                                <tr>
                                    <td colspan="4"  >
                                        <input name="id"  type="hidden" value="{$info.id}">
                                        <button type="submit" class="action-button ajax-post" target-form="form-admin11" style="margin-left: 550px">保存</button>
                                        <button type="button" class="action-button" onclick="history.go(-1)">返回</button>
                                    </td>
                                </tr>

                            </table>
                        </form>
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
    <include file="Public:foot" />
</div><!-- /wrapper -->
<a href="#" class="scroll-to-top hidden-print"><i class="fa fa-chevron-up fa-lg"></i></a>
</body>
</html>
<block name="script">

    <script>
        $(function () {
            highlight_nav2('{:U("Config/user")}');
        })
    </script>
</block>
